package com.etime.shycourse.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 财务结算表实体
 */
@TableName("settlement")
public class Settlement {
    @TableId(value = "settlementid", type = IdType.AUTO)
    private Integer settlementid;
    private Integer settlementtype;
    private Integer settlementuserid;
    private BigDecimal settlementsale;
    private BigDecimal settlementpoint;
    private BigDecimal settlementamount;
    private Date settlementtime;
    private Integer settlementpay;
    private Date settlementpatytime;
    private Integer odid;

    public Integer getSettlementid() {
        return settlementid;
    }

    public void setSettlementid(Integer settlementid) {
        this.settlementid = settlementid;
    }

    public Integer getSettlementtype() {
        return settlementtype;
    }

    public void setSettlementtype(Integer settlementtype) {
        this.settlementtype = settlementtype;
    }

    public Integer getSettlementuserid() {
        return settlementuserid;
    }

    public void setSettlementuserid(Integer settlementuserid) {
        this.settlementuserid = settlementuserid;
    }

    public BigDecimal getSettlementsale() {
        return settlementsale;
    }

    public void setSettlementsale(BigDecimal settlementsale) {
        this.settlementsale = settlementsale;
    }

    public BigDecimal getSettlementpoint() {
        return settlementpoint;
    }

    public void setSettlementpoint(BigDecimal settlementpoint) {
        this.settlementpoint = settlementpoint;
    }

    public BigDecimal getSettlementamount() {
        return settlementamount;
    }

    public void setSettlementamount(BigDecimal settlementamount) {
        this.settlementamount = settlementamount;
    }

    public Date getSettlementtime() {
        return settlementtime;
    }

    public void setSettlementtime(Date settlementtime) {
        this.settlementtime = settlementtime;
    }

    public Integer getSettlementpay() {
        return settlementpay;
    }

    public void setSettlementpay(Integer settlementpay) {
        this.settlementpay = settlementpay;
    }

    public Date getSettlementpatytime() {
        return settlementpatytime;
    }

    public void setSettlementpatytime(Date settlementpatytime) {
        this.settlementpatytime = settlementpatytime;
    }

    public Integer getOdid() {
        return odid;
    }

    public void setOdid(Integer odid) {
        this.odid = odid;
    }

    @Override
    public String toString() {
        return "Settlement{" +
                "settlementid=" + settlementid +
                ", settlementtype=" + settlementtype +
                ", settlementuserid=" + settlementuserid +
                ", settlementsale=" + settlementsale +
                ", settlementpoint=" + settlementpoint +
                ", settlementamount=" + settlementamount +
                ", settlementtime=" + settlementtime +
                ", settlementpay=" + settlementpay +
                ", settlementpatytime=" + settlementpatytime +
                ", odid=" + odid +
                '}';
    }
}
